package db_main

import (
	"longmen/server/config/global"
	"longmen/server/pkg/common/api_models"
)

func TopUserDesc(id int) (api_models.TopUserDescResp, error) {
	var tud api_models.TopUserDescResp
	err := global.GetR().Table("db_talent_list_conf").Where("id=?", id).Scan(&tud).Error

	return tud, err
}
